<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
	<%@include file="/WEB-INF/common/taglibs.jsp"%>    
    <title>江苏龙芯梦兰科技股份有限公司-SMT生产管理系统</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
  </head>
  <style type="text/css">
<!--
body {
	margin-left: 3px;
	margin-top: 0px;
	margin-right: 3px;
	margin-bottom: 0px;
}
.STYLE1 {
	color: #e1e2e3;
	font-weight:bold;
	font-size: 24px;
}
.STYLE6 {color: #000000; font-size: 24px; font-weight:bold;}
.STYLE10 {color: #000000; font-size: 24px;font-weight:bold; }
.STYLE19 {
	color: #344b50;
	font-size: 24px;font-weight:bold;
}
.STYLE21 {
	font-size: 24px;
	color: #3b6375;font-weight:bold;
}
.STYLE22 {
	font-size: 24px;font-weight:bold;
	color: #295568;
}
-->
</style>
<script type="text/javascript">
	function flush(){
		window.location.reload();
	}
	window.setInterval(flush,10000);
</script>
<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#ffffff">
      <tr height="45">
        <td class="STYLE10" bgcolor="#3C3C3C" colspan="7" align="center" style="color:#FFF">订单${model.orderNo}实时生产情况</td>
      </tr>
      <tr height="45">
        <td width="25%" bgcolor="#a8c7ce" class="STYLE6"><div align="center"><span class="STYLE19">工段</span></div></td>
        <td width="25%" bgcolor="#a8c7ce" class="STYLE19"><div align="center">SMT</div></td>
        <td width="25%" bgcolor="#a8c7ce" class="STYLE19"><div align="center">DTP</div></td>
        <td width="25%" bgcolor="#a8c7ce" class="STYLE19"><div align="center">FT</div></td>
      </tr>
      <tr height="45">
        <td width="25%" bgcolor="#a8c7ce" class="STYLE6"><div align="center"><span class="STYLE19">机种</span></div></td>
        <td width="25%" bgcolor="#F0EFFE" class="STYLE19"><div align="center">${model.productName}</div></td>
        <td width="25%" bgcolor="#F0EFFE" class="STYLE19"><div align="center">${model.productName}</div></td>
        <td width="25%" bgcolor="#F0EFFE" class="STYLE19"><div align="center">${model.productName}</div></td>
      </tr>
      <tr height="45">
        <td width="25%" bgcolor="#a8c7ce" class="STYLE6"><div align="center"><span class="STYLE19">总数</span></div></td>
        <td width="25%" bgcolor="#F0EFFE" class="STYLE19"><div align="center">${model.total}</div></td>
        <td width="25%" bgcolor="#F0EFFE" class="STYLE19"><div align="center">${model.total}</div></td>
        <td width="25%" bgcolor="#F0EFFE" class="STYLE19"><div align="center">${model.total}</div></td>
      </tr>
      <tr height="45">
        <td width="25%" bgcolor="#a8c7ce" class="STYLE6"><div align="center"><span class="STYLE19">起止条码段</span></div></td>
        <td width="25%" bgcolor="#F0EFFE" class="STYLE19"><div align="center">${model.seNo}</div></td>
        <td width="25%" bgcolor="#F0EFFE" class="STYLE19"><div align="center">${model.seNo}</div></td>
        <td width="25%" bgcolor="#F0EFFE" class="STYLE19"><div align="center">${model.seNo}</div></td>
      </tr>
      <tr height="45">
        <td width="25%" bgcolor="#a8c7ce" class="STYLE6"><div align="center"><span class="STYLE19">已完成数量</span></div></td>
        <td width="25%" bgcolor="#F0EFFE" class="STYLE19"><div align="center">${model.smtCompleteNum}</div></td>
        <td width="25%" bgcolor="#F0EFFE" class="STYLE19"><div align="center">${model.dipCompleteNum}</div></td>
        <td width="25%" bgcolor="#F0EFFE" class="STYLE19"><div align="center">${model.ftCompleteNum}</div></td>
      </tr>
      <tr height="45">
        <td width="25%" bgcolor="#a8c7ce" class="STYLE6"><div align="center"><span class="STYLE19">良品数量</span></div></td>
        <td width="25%" bgcolor="#F0EFFE" class="STYLE19"><div align="center">${model.smtYield}</div></td>
        <td width="25%" bgcolor="#F0EFFE" class="STYLE19"><div align="center">${model.dipYield}</div></td>
        <td width="25%" bgcolor="#F0EFFE" class="STYLE19"><div align="center">${model.ftYield}</div></td>
      </tr>
      <tr height="45">
        <td width="25%" bgcolor="#a8c7ce" class="STYLE6"><div align="center"><span class="STYLE19">维修品数量</span></div></td>
        <td width="25%" bgcolor="#F0EFFE" class="STYLE19"><div align="center">${model.smtRepairNum}</div></td>
        <td width="25%" bgcolor="#F0EFFE" class="STYLE19"><div align="center">${model.dipRepairNum}</div></td>
        <td width="25%" bgcolor="#F0EFFE" class="STYLE19"><div align="center">${model.ftRepairNum}</div></td>
      </tr>
      <tr height="45">
        <td width="25%" bgcolor="#a8c7ce" class="STYLE6"><div align="center"><span class="STYLE19">不良率</span></div></td>
        <td width="25%" bgcolor="#F0EFFE" class="STYLE19"><div align="center"><fmt:formatNumber value="${smtRepairNum/(model.total==0?1:model.total)*100}" pattern="##.##" />%</div></td>
        <td width="25%" bgcolor="#F0EFFE" class="STYLE19"><div align="center"><fmt:formatNumber value="${model.dipRepairNum/(model.total==0?1:model.total)*100}" pattern="##.##" />%</div></td>
        <td width="25%" bgcolor="#F0EFFE" class="STYLE19"><div align="center"><fmt:formatNumber value="${model.ftRepairNum/(model.total==0?1:model.total)*100}" pattern="##.##" />%</div></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
